<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>${site.name}-${author.username}的个人简介</title>
[#include "../include/head.html"/]
</head>

<body>
<div id="wrap">
	[#include "../include/navigate.html"/]
    <div id="content">
        <div id="left">
        	<p class="title noBorderBot"><span class="title_text">作品列表</span></p>
            <div class="article_index">
            	<div class="article_indexCon">
                	<div class="index_unit">
                    	<p class="index_unit_left">类别：</p>
                        <p class="index_unit_right">
                        	<a href="${base}/space.jsp?u=${author.id}&o=${o}" [#if c=='']class="current"[/#if]>全部</a>
                        	[@cms_channel_list]
							[#list tag_list as chn]
                        	<a href="${base}/space.jsp?u=${author.id}&c=${chn.id}&o=${o}" [#if c=='${chn.id}']class="current"[/#if]>${chn.name}</a>
                        	[/#list]
							[/@cms_channel_list]
                        </p>
                    </div>
                    <div class="index_unit">
                    	<p class="index_unit_left">排序方式：</p>
                        <p class="index_unit_right">
                        	<a href="${base}/space.jsp?u=${author.id}&c=${c}&o=2" [#if o=='2']class="current"[/#if]>发布时间</a>
                        	<a href="${base}/space.jsp?u=${author.id}&c=${c}&o=6" [#if o=='6']class="current"[/#if]>日点击</a>
                        	<a href="${base}/space.jsp?u=${author.id}&c=${c}&o=7" [#if o=='7']class="current"[/#if]>周点击</a>
                        	<a href="${base}/space.jsp?u=${author.id}&c=${c}&o=8" [#if o=='8']class="current"[/#if]>月点击</a>
                        	<a href="${base}/space.jsp?u=${author.id}&c=${c}&o=9" [#if o=='9']class="current"[/#if]>总点击</a>
                        	<a href="${base}/space.jsp?u=${author.id}&c=${c}&o=13" [#if o=='13']class="current"[/#if]>总评论</a>
                        </p>
                    </div>
                    <div class="clear"></div>
                </div>
                <div class="article_indexbot"></div>
            </div>
            <ul class="classArticle_list">
            	<li class="liTitle">
                	<p class="classArticle_title">作品名</p>
                	<p class="classArticle_editor">作者</p>
                    <p class="classArticle_time">发表时间</p>
                    <p class="classArticle_recommend">推荐度</p>
                    <p class="classArticle_comment">评论</p>
                    <p class="classArticle_click">点击</p>
                </li>
                [@cms_content_page authorId=author.id channelId=c recommend='0' count='20' orderBy=o]
            	[#list tag_list as ctt]
                <li>
                	<p class="classArticle_title"><a href="${ctt.url}">${ctt.title}</a></p>
                	<p class="classArticle_editor"><a href="javascript:;">${ctt.author!'本站编辑'}</a></p>
                    <p class="classArticle_time">${ctt.date?string('yyyy-MM-dd')}</p>
                    <p class="classArticle_recommend cc_0${ctt.topLevel}"></p>
                    <p class="classArticle_comment">${ctt.comments}</p>
                    <p class="classArticle_click">${ctt.views}</p>
                </li>
            	[/#list]
            	<div class="pagination">[@cms_pagination sysPage='1'/]</div>
            	[/@cms_content_page]
            </ul>
        </div>
        <div id="right">
            <div class="boxC_bar">${author.username}</div>
            <div class="boxC_con">
            	<img src="/images/avatar/big/${author.id}.jpg" width="120" class="editor_pic" />
				<p class="editor_attr">
				性　别：[#if author.gender??]${author.gender?string('男','女')}[#else]保密[/#if]<br />
				生　日：[#if author.birthday??]${author.birthday?string('yyyy-MM-dd')}[#else]保密[/#if]<br />
				文章数：${author.issueCount!'0'}篇<br />
				等　级：${author.group.name}</p>
                <p class="editor_info"><span class="green3">个人简介：</span>${author.intro!}</p>
                <div class="clear"></div>
            </div>
        	<div class="boxC_bottom"></div>
            <div class="bar_A"><p class="bar_A_title">Ta的精彩点评</p></div>
            <div class="wonderful_comments">
            	[@cms_comment_list authorId=author.id count='5' textLen='50' append='...']
            	[#list tag_list as c]
                <p class="wc_li">[@text_cut s=c.textHtml len=textLen append=append/]</p>
                <p class="wc_from">评论了<span class="wcf_for"><a href="${c.content.url}" target="_blank">《${c.content.title}》</a></span><span class="wcf_name">----${c.createTime?string('yyyy-MM-dd HH:mm')}</span></p>
                [/#list]
                [/@cms_comment_list]
            </div>
            <div class="bar_B"><p class="bar_B_title">最新注册用户</p></div>
            <ul class="active_author">
            [@cms_user_list orderBy='2' count='12']
            	[#list tag_list as u]
				<li><a href="${base}/space.jsp?u=${u.id}"><img src="/images/avatar/small/${u.id}.jpg" width="60" height="60" />${u.username}</a></li>
				[/#list]
            [/@cms_user_list]
            </ul>
            <div class="clear"></div>
        </div>
        <div class="clear"></div>
    </div>
    [#include "../include/foot.html"/]
</div>
</body>
</html>
